home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Shout3Ddemo / Shout3d_runtime / codebase / models / animTests / tcb_at_different_rates.s3d < prev    next >
Text File  |  2000-06-07  |  3KB  |  112 lines

  1. DEF world-TIMER TimeSensor {
  2.     loop TRUE
  3.     cycleInterval 3.333
  4. }
  5. DEF Box01 Transform {
  6.     translation -100 0 100
  7.     children [
  8.         DEF BOX_SHAPE Shape {
  9.             appearance [
  10.                 MultiAppearance {
  11.                     material Material {
  12.                         diffuseColor 0.6039 0.6039 0.898
  13.                     }
  14.                 }
  15.             ]
  16.             geometry MultiMesh {
  17.                 coord Coordinate {
  18.                     point [
  19.                         -15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
  20.                     ]
  21.                 }
  22.                 coordIndex [
  23.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  24.                     2 0 4 -1 4 6 2 -1
  25.                 ]
  26.                 edgeVisibleIndex [
  27.                     1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1
  28.                     1 1 0 -1 1 1 0 -1
  29.                 ]
  30.                 smoothingIndex [
  31.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  32.                 ]
  33.                 appearanceIndex [
  34.                     1 1 0 0 4 4 3 3 5 5 2 2
  35.                 ]
  36.                 textureMappings [
  37.                 ]
  38.             }
  39.         }
  40.         DEF Box01-TCBPOS-INTERP TCBVecInterpolator {
  41.             key [
  42.                 0 0.25 1
  43.             ]
  44.             keyValue [
  45.                 -100 0 100 0 0 0 0 0
  46.                 #-100 0 -100 -0.68 0.056 -0.852 1 1
  47.                 -100 0 -100 0 0 0 0 0
  48.                 100 0 -100 0 0 0 0 0
  49.             ]
  50.         }
  51.         ROUTE world-TIMER.fraction_changed TO Box01-TCBPOS-INTERP.set_fraction
  52.         ROUTE Box01-TCBPOS-INTERP.value_changed TO Box01.set_translation
  53.     ]
  54. }
  55. Transform {
  56.     translation 0 30 0
  57.     children DEF Box02 Transform {
  58.         translation -100 0 100
  59.         children [
  60.             USE BOX_SHAPE
  61.             DEF Box02-TCBPOS-INTERP TCBVecInterpolator {
  62.                 key [
  63.                     0 .5 1
  64.                 ]
  65.                 keyValue [
  66.                     -100 0 100 0 0 0 0 0
  67.                     #-100 0 -100 -0.68 0.056 -0.852 1 1
  68.                     -100 0 -100 0 0 0 0 0
  69.                     100 0 -100 0 0 0 0 0
  70.                 ]
  71.             }
  72.             ROUTE world-TIMER.fraction_changed TO Box02-TCBPOS-INTERP.set_fraction
  73.             ROUTE Box02-TCBPOS-INTERP.value_changed TO Box02.set_translation
  74.         ]
  75.     }
  76. }
  77. Transform {
  78.     translation 0 60 0
  79.     children DEF Box03 Transform {
  80.         translation -100 0 100
  81.         children [
  82.             USE BOX_SHAPE
  83.             DEF Box03-TCBPOS-INTERP TCBVecInterpolator {
  84.                 key [
  85.                     0 .75 1
  86.                 ]
  87.                 keyValue [
  88.                     -100 0 100 0 0 0 0 0
  89.                     #-100 0 -100 -0.68 0.056 -0.852 1 1
  90.                     -100 0 -100 0 0 0 0 0
  91.                     100 0 -100 0 0 0 0 0
  92.                 ]
  93.             }
  94.             ROUTE world-TIMER.fraction_changed TO Box03-TCBPOS-INTERP.set_fraction
  95.             ROUTE Box03-TCBPOS-INTERP.value_changed TO Box03.set_translation
  96.         ]
  97.     }
  98. }
  99. DEF Camera01 Viewpoint{
  100.     position 2.983 313.4 362.3
  101.     orientation 1 0 0 -0.5975
  102.     #position 2.983 113.4 362.3
  103.     #orientation 0.9614 -0.2725 -0.03926 -0.2975
  104.     fieldOfView 0.6024
  105.     description "Camera01"
  106. }
  107. DEF Camera01.Target Transform {
  108.     translation -28.44 0 -21.85
  109.     children [
  110.     ]
  111. }
  112.